package com.feemanage.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@ApiModel("经费外拨列表")
public class BizProjectOutboundMainVo {
    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @ApiModelProperty("自增ID")
    private String id;

    /**
     * 项目ID
     */
    @ApiModelProperty("项目ID")
    private String projectId;

    /**
     * 项目名称
     */
    @ApiModelProperty("项目名称")
    private  String projectName;

    /**
     * 负责人
     */
    @ApiModelProperty("负责人")
    private String ChargerName;


    /**
     * 外拨金额
     */
    @ApiModelProperty("外拨金额")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal outboundFee;

    /**
     * 申请外拨日期
     */
    @ApiModelProperty("申请外拨日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate outbounddate;

    /**
     * 所属单位
     */
    @ApiModelProperty("所属单位")
    private String unitName;


    /**
     * 审核状态
     */
    @ApiModelProperty("审核状态")
    private String checkstatus;

    @ApiModelProperty("审核时间")
    private String checkdate;

    @ApiModelProperty("审核人")
    private String checker;

    @ApiModelProperty("流程实例id")
    private String processInstanceId;

    @ApiModelProperty("流程节点id")
    private String taskId;

    @ApiModelProperty("是否是审核人")
    private Boolean isAuditor;

}
